{% extends 'father.html' %}

{% block main %}
    <form method="POST" action="/dept/{{ row_obj.id }}/update/">
        {% csrf_token %}
         <h2>修改部门信息</h2>
        <div class="mb-3">
            <label for="exampleInputTitle" class="form-label">部门名称</label>
            <input type="text" name="title" value="{{ row_obj.title }}" class="form-control" id="exampleInputTitle" >
        </div>

        <button type="submit" class="btn btn-primary">Submit</button>
    </form>

{% endblock %}